<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户信息</title>
    <link rel="stylesheet" href="/static/css/bootstrap.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
</head>
<body>
<a href="javascript:;" id="logout">退出登录</a>
用户账号：{{user.account}}
<script>
    $(function() {
        $('#logout').click(function() {
            $.get('/logout', function(res){
                console.log(res);
            });
        });
    });
</script>
</body>
</html>